package com.foo.game.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.foo.common.base.constants.GameDDLConstants;
import com.google.gson.annotations.Expose;

@Entity
@Table(name = "GAME_RATING")
/**
 * Game rating sites
 * @author Steve
 *
 */
public class GameRating {
	@Id
	@javax.persistence.GeneratedValue(generator = "system-uuid")
	@org.hibernate.annotations.GenericGenerator(name = "system-uuid", strategy = "uuid2")
	@Column(name = "ID", length = 36)
	@Expose
	private String id;
	@Column(name = "GAME_INDEX", columnDefinition = GameDDLConstants.tinyintNotNull)
	private int gameIndex;
	@Expose
	@Column(name = "SITE_INDEX", columnDefinition = GameDDLConstants.tinyintNotNull)
	private int siteName;
	@Expose
	@Column(name = "SITE_RATING", columnDefinition = GameDDLConstants.tinyintNotNull)
	private int siteRating;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public int getGameIndex() {
		return gameIndex;
	}

	public void setGameIndex(int gameIndex) {
		this.gameIndex = gameIndex;
	}

	public int getSiteName() {
		return siteName;
	}

	public void setSiteName(int siteName) {
		this.siteName = siteName;
	}

	public int getSiteRating() {
		return siteRating;
	}

	public void setSiteRating(int siteRating) {
		this.siteRating = siteRating;
	}
}
